<template>
	<view class="">
		<xxmChildVue @onTap="addText"></xxmChildVue>
	</view>
	<view class="">
		{{ childText }}
	</view>
</template>

<script lang="ts" setup>
	import xxmChildVue from '../../components/xxm-child/xxm-child.vue';
	import { ref } from 'vue';
	const childText = ref()
	const addText = (val)=>{
		console.log(val);
		childText.value = val
	}
</script>

<style scoped lang="scss">

</style>
